<!--
/**************************************************
* @(#)checkManufacture.jsp
*
* Copyright (c) 2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2006/02/08, SimonyiPeng
*  1) first release
/**************************************************
-->

<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ page import="com.hitrust.gs.business.GSTempOrderProcesser"%>
<%@ page import="com.hitrust.gs.bean.GSTempOrderBean"%>
<%@ include file="../../common.jsp" %>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<SCRIPT language="JavaScript" src="<%=root%>/js/string.js"></SCRIPT>


<%
boolean isDeliverGoodsIdExist = false;
GSManufactureBean bean = null;
String deliverGoodsId = request.getParameter("delivergoodsid");

GSTempOrderProcesser processer = new GSTempOrderProcesser ();
boolean bool = processer.isDeliverGoodsIdExist(deliverGoodsId);
%>

<html>
<body onLoad="onsubmit();"></body>
<script language='javascript'>	
	function onsubmit(){
		if(<%=bool%>){
			if(confirm("已经存在对应该送货单号的信息，是否继续录入？")){
				//允许继续录入
			}
			else{
				parent.document.getElementById("delivergoodsid").value = "";
			}
		}else{
			alert("可以录入该送货单号对应的送货单信息");
		}
	}
</script>
</html>


